package com.zkj.spring.zhuanzhang;

public class AccountServiceImp implements AccountService {

	public AccountDAO accountDao;

	public void setAccountDao(AccountDAO accountDao) {
		this.accountDao = accountDao;
	}





	@Override
	public void transfer(String outAccount, String inAccount, double money) {
		//
		accountDao.out(outAccount, money);
		//
		accountDao.in(inAccount, money);
		
		int i = 1 / 0;
	}

}
